<template>
    <div id="login">
        <van-icon name="arrow-left" class="close" size="0.7rem" @click="fanhui"/>
        <p id="logo">欢迎加入造作新家</p>
        <Phone></Phone>
        <p>注册代表你已经同意<a href="#">《造作新家用户协议》</a></p>
    </div>
</template>

<script>
import Phone from '../components/register'
    export default {
        name:'register',
        data() {
            return {
                
            }
        },
        methods: {
            fanhui(){
                this.$router.go(-1)
            }
        },
        components:{
            Phone:Phone,//手机号登录
        }
    }
</script>

<style  scoped>
 #login{
        height: 100vh;
        overflow:hidden;
        position: relative;
    }
 #logo{ 
        height:20px;
        line-height: 20px;
        font-size: 30px;
        color: black;
        margin-top:64px ;
        margin-bottom: 66px;
        font-weight: 600;
    }
.close{
        margin-top: 69px;
        display: block;
        width: 86px;
    }
    p{
        color:#ccc
    }
    a{
        color: black
    }
</style>